{% if include.name == nil %}
    {% assign name = include.link | capitalize %}
{% else %}
    {% assign name = include.name %}
{% endif %}

{% assign linklen = include.link | size | plus:3 %}
{% assign currprefix = page.url | truncate:linklen | remove:"..." %}

{% if currprefix == include.link %}
	{% assign cssclasses = "updatedmarkercontainer selected" %}
{% else %}
	{% assign cssclasses = "updatedmarkercontainer" %}
{% endif %}

{% capture updatedmarker %}
<div class="updatedmarker" data-link="{{include.link}}"></div>
{% endcapture %}


<li><a class='{{ cssclasses }}' href="{{ include.link }}">{{ name }}{{ updatedmarker }}</a></li>
